package com.xh.bussiness.tiku.bean.request;

import com.xh.core.bean.BaseRequestBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 试卷表 查询bean
 * </p>
 *
 * @author daiwei
 * @since 2019-01-14
 */
@Data
@ApiModel
public class PaperSaveRequest extends BaseRequestBean {

    @ApiModelProperty("试卷id")
    private String id;

    @ApiModelProperty("试卷类别 0随机测试试卷，1 学生错题试卷")
    private Integer type;

    @ApiModelProperty("试卷类别 （1：标准试卷，2：我的组卷）")
    private Integer format;

    @ApiModelProperty("学段")
    private String gradeRange;

    @ApiModelProperty("学科ID")
    private String subjectId;

    @ApiModelProperty("年份")
    private String year;

    @ApiModelProperty("学期")
    private String season;

    @ApiModelProperty("年级")
    private String gradeId;

    @ApiModelProperty("来源")
    private String source;

    @ApiModelProperty("省份")
    private String provinceId;

    @ApiModelProperty("省份名称")
    private String provinceName;

    @ApiModelProperty("城市")
    private String cityId;

    @ApiModelProperty("城市名称")
    private String  cityName;

    @ApiModelProperty("区县")
    private String county;

    @ApiModelProperty("区县名称")
    private String countyName;

    @ApiModelProperty("龙文市区id")
    private String longwenCityId;

    @ApiModelProperty("龙文市区名称")
    private String longwenCityName;

    @ApiModelProperty("龙文分校id")
    private String longwenBranchId;

    @ApiModelProperty("龙文分校名称")
    private String longwenBranchName;

    @ApiModelProperty("龙文区域id")
    private String longwenAreaId;

    @ApiModelProperty("龙文区域名称")
    private String longwenAreaName;

    @ApiModelProperty("校区id")
    private String schoolId;


    @ApiModelProperty("用时/分")
    private Integer useTime;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("副标题")
    private String sideTitle;

    @ApiModelProperty("章节数")
    private Integer chapterCount;

    @ApiModelProperty("试题数")
    private Integer questionCount;

    @ApiModelProperty("总分数")
    private Integer totalScore;

    @ApiModelProperty("是否显示标题 0 否 1 是")
    private Integer showTitle;

    @ApiModelProperty("是否显示时间和总分 0 否 1 是")
    private Integer showTime;

    @ApiModelProperty("是否显示机构信息 0 否 1 是")
    private Integer showOrgInfo;

    @ApiModelProperty("是否显示评分区 0 否 1 是")
    private Integer showScore;

    @ApiModelProperty("是否显示副标题 0 否 1 是")
    private Integer showSideTitle;

    @ApiModelProperty("是否显示密封线 0 否 1 是")
    private Integer showSealing;

    @ApiModelProperty("是否显示学生信息")
    private Integer showStuInfo;

    @ApiModelProperty("是否显示大题分值（0 否 1 是）")
    private Integer showChapterScore;

    @ApiModelProperty("试卷不分章节试题集合")
    private List<PaperQuestionSaveRequest> questions;

    @ApiModelProperty("试卷章节集合")
    private List<PaperChapterSaveRequest> paperChapters;

    @ApiModelProperty("试卷id")
    private String jyPaperId;

    @ApiModelProperty("试卷来源 1 手动组卷 2 智能组卷 3 上传试卷 4 导入记录保存原卷 5 学科网组卷")
    private Integer sourceFrom;

    @ApiModelProperty("上传试卷地址")
    private String filePath;

    @ApiModelProperty("是否公共（0否，1是）")
    private Integer isPublic = 0;

    /**
     * 是否是练习 0否 1是
     **/
    private Integer isExercise;

    /**
     * 练习分类（1：进门测，2：过手练，3:出门测,4：作业）
     **/
    private Integer exerciseType;

    /**
     * 班型id
     **/
    private String courseTypeId;

    /**
     * 教材版本id
     **/
    private String teacherBookVersionId;

    private Integer status;

    /**
     * 是不是标准同步练习，0-否  1-是
     */
    private Integer standardExercise;
}
